To generate a new schema file you will use:

      schematic migrations:generate

The generate command will take a sample file and create a new one from it.

The parameters are:

  • dir

The directory which is the root for the project you're using it for.

  • name

The name of the file you want to create

  • type

The file type you want to use, either YAML or JSON